package com.pearadmin.pro.modules.not.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pearadmin.pro.modules.not.domain.SysAnswer;
import com.pearadmin.pro.modules.not.domain.SysAnswerList;

import java.util.List;

public interface SysAnswerService extends IService<SysAnswer> {


    /**
     * 获取答疑区列表
     *
     * @return java.util.List<com.pearadmin.pro.modules.not.domain.SysAnswer>
     * @author ZhouXingYun
     * @date 2022/5/16 16:29
     */
    List<SysAnswer> getAnswerList();

    /**
     * 查询所有评论
     *
     * @param dialogueId 会话ID
     * @return java.util.List<com.pearadmin.pro.modules.not.domain.SysAnswerList>
     * @author ZhouXingYun
     * @date 2022/5/17 15:44
     */
    List<SysAnswerList> getComment(String dialogueId);

    /**
     * 新增评论
     *
     * @param sysAnswerList
     * @return boolean
     * @author ZhouXingYun
     * @date 2022/5/17 19:01
     */
    boolean savComment(SysAnswerList sysAnswerList);
}
